home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol F-12
/
(Vol F-12) Jun 02 2012.iso
/
Screensaver
/
screensaver_installer.exe
/
____swmx
/
scripts
/
frame_1
/
DoAction.as
< prev
Wrap
Text File
|
2004-10-21
|
892b
|
31 lines
_global.ScreenweaverScript = function()
{
this.init();
};
ScreenweaverScript.prototype.init = function()
{
};
ScreenweaverScript.prototype.execute = function(script, callback, scope)
{
args = {script:script};
swInterface.callMethod("runScript",args,callback,false,scope);
};
ScreenweaverScript.prototype.run = function(script, callback, scope)
{
swScript.execute(script,callback,scope);
};
ScreenweaverScript.prototype.executeFile = function(file, callback, scope)
{
args = {file:file};
swInterface.callMethod("runScriptFile",args,callback,false,scope);
};
ScreenweaverScript.prototype.runFile = function(file, callback, scope)
{
swScript.executeFile(file,callback,scope);
};
ScreenweaverScript.prototype.send = function(data, callback, scope)
{
args = {data:data};
swInterface.callMethod("sendToScript",args,callback,false,scope);
};